package com.ytjj.qmyx.mall.model;

import lombok.Builder;
import java.io.Serializable;
import java.util.Date;

@Builder
public class MqFailLog implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    private Integer type;
    private String message;
    private Date createTime;
    private String reason;
    private String queue;
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getQueue() {
        return queue;
    }

    public void setQueue(String queue) {
        this.queue = queue;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "MqFailLog{" +
                "id=" + id +
                ", type=" + type +
                ", message='" + message + '\'' +
                ", createTime=" + createTime +
                ", reason='" + reason + '\'' +
                ", queue='" + queue + '\'' +
                ", status=" + status +
                '}';
    }
}
